package Persistencia;

import java.util.List;

import play.db.jpa.GenericModel;

import Persistencia.Exception.DAOException;


public interface IDAOGenerico<T> {
    public void addEntity(T entity) throws DAOException;
    public void updateEntity(T entity) throws DAOException;
    public void removeEntity(T entity) throws DAOException;
    public List<T> findAll() throws DAOException;
    public T findById(Integer id) throws DAOException;

}
